<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>后台登录-X-admin1.1</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="shortcut icon" th:href="@{/favicon.ico}" type="image/x-icon" />
    <link rel="stylesheet" th:href="@{/X-Admin/css/font.css}">
    <link rel="stylesheet" th:href="@{/X-Admin/css/xadmin.css}">
    <link rel="stylesheet" th:href="@{https://cdn.bootcss.com/Swiper/3.4.2/css/swiper.min.css}">
    <script type="text/javascript" th:src="@{https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js}"></script>
    <script type="text/javascript" th:src="@{https://cdn.bootcss.com/Swiper/3.4.2/js/swiper.jquery.min.js}"></script>
    <script th:src="@{/X-Admin/lib/layui/layui.js}" charset="utf-8"></script>
    <script type="text/javascript" th:src="@{/X-Admin/js/xadmin.js}"></script>

</head>
<body>
<!--    <form class="layui-form">-->
<!--        <div class="layui-form-item">-->
<!--            <label for="level-id" class="layui-form-label">-->
<!--                id-->
<!--            </label>-->
<!--            <div class="layui-input-inline">-->
<!--                <input type="text" id="level-id" name="level-id" disabled="" value="20" class="layui-input">-->
<!--            </div>-->
<!--        </div>-->
<!--        <div class="layui-form-item">-->
<!--            <label for="level-name" class="layui-form-label">-->
<!--                <span class="x-red">*</span>事件-->
<!--            </label>-->
<!--            <div class="layui-input-inline">-->
<!--                <input type="text" id="level-name" name="level-name" required="" lay-verify="required"-->
<!--                autocomplete="off" value="回复" class="layui-input">-->
<!--            </div>-->
<!--        </div>-->
<!--        <div class="layui-form-item">-->
<!--            <label for="level-kiss" class="layui-form-label">-->
<!--                <span class="x-red">*</span>积分-->
<!--            </label>-->
<!--            <div class="layui-input-inline">-->
<!--                <input type="text" id="level-kiss" name="level-kiss" required="" value="10" lay-verify="required"-->
<!--                autocomplete="off" class="layui-input">-->
<!--            </div>-->
<!--        </div>-->
<!--        <div class="layui-form-item">-->
<!--            <label for="L_repass" class="layui-form-label">-->
<!--            </label>-->
<!--            <button  class="layui-btn" id="L_repass" lay-filter="save" lay-submit="">-->
<!--                保存-->
<!--            </button>-->
<!--        </div>-->
<!--    </form>-->
<div class="wrapper">
    <!-- 右侧主体开始 -->
    <div class="page-content">
        <div class="content">
            <!-- 右侧内容框架，更改从这里开始 -->
            <!--<iframe style="display: none" id="myIframe" name="myIframe"></iframe>-->
            <form  method="post" th:action="@{/userkiss/edit}" target="_self">

                <div class="layui-form-item">
                    <label for="L_id" class="layui-form-label">
                        <span class="x-red">*</span>ID
                    </label>
                    <div class="layui-input-inline">
                        <input readonly type="text" id="L_id" name="id" required="" lay-verify="id"
                               autocomplete="off" class="layui-input">
                    </div>
                    <div class="layui-form-mid layui-word-aux">
                        <span class="x-red">*</span>不可更改
                    </div>
                </div>
                <div class="layui-form-item">
                    <label for="L_username" class="layui-form-label">
                        <span class="x-red">*</span>用户名
                    </label>
                    <div class="layui-input-inline">
                        <input readonly type="text" id="L_username" name="userName" required="" lay-verify="userName"
                               autocomplete="off" class="layui-input">
                    </div>
                    <div class="layui-form-mid layui-word-aux">
                        <span class="x-red">*</span>不可更改
                    </div>
                </div>
                <div class="layui-form-item">
                    <label for="L_intergal" class="layui-form-label">
                        <span class="x-red">*</span>积分
                    </label>
                    <div class="layui-input-inline">
                        <input type="text" id="L_intergal" name="intergal" required=""
                               autocomplete="off" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label for="L_username" class="layui-form-label">
                    </label>
                    <button type="submit" onclick="MyClose()" class="layui-btn" lay-filter="add" lay-submit="">
                        提交
                    </button>
                </div>
            </form>
<!--            右侧内容框架，更改从这里结束-->
        </div>
    </div>
    <!-- 右侧主体结束 -->
</div>
<!-- 中部结束 -->

<script>
    function children(obj){
        let id=document.getElementById("L_id");
        let userName=document.getElementById("L_username");
        let intergal=document.getElementById("L_intergal");

        id.value=obj[0].replace();
        userName.value=obj[1].replace("\"","").replace("\"","");
        intergal.value=obj[2].replace("\"","").replace("\"","");
        console.log(obj[0]);

        // x_admin_close();
        
    }
    function MyClose(){
        x_admin_close();
    }
</script>

</body>
</html>